﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RBS.Core.BLL;
using RBS.Web.Hotel.Controllers;

namespace RBS.Web.Hotel.Areas.Chart.Controllers
{
    public class UserController : BaseController
    {
        private RBS.Core.BLL.SpBll _spBll = new SpBll();
        //
        // GET: /Chart/User/ 
        public ActionResult UserChart()
        {

            var list=_spBll.GetUserChart(CurrentUser.HotelId); 
            ViewData.Model = list;
            return View();
        }

    }
}
